package com.dukun.mybatis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.vividsolutions.jts.geom.Geometry;
import lombok.Data;

/**
 * Location 实体类
 *
 * author：dukun
 * date：2021/10/14
 */
@Data
@TableName(value = "location")
public class Location {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Geometry coordinate;

    @TableField(exist = false)
    private String wkt;

}
